package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class RankingListScreenVO {

    @ApiModelProperty(value = "唯一id")
    private Long id;

    @ApiModelProperty(value = "排行榜名称")
    private String name;

    @ApiModelProperty(value = "活动规则")
    private String ruleSpecification;

    @ApiModelProperty(value = "藏品名字")
    private String linkColectionName;

    @ApiModelProperty(value = "入榜条件")
    private Integer minimumQuantity;

    @ApiModelProperty(value = "藏品id")
    private Long linkCollectionId;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;

    @ApiModelProperty(value = "是否结束")
    private Boolean endOrNot;
}
